//
//  XOShoppingCartListModel.h
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2018/3/16.
//  Copyright © 2018年 lifayu. All rights reserved.
//

#import "JsonBaseObject.h"
#import "XOShoppingCartModel.h"

@interface XOShoppingCartListModel : JsonBaseObject

CopyStringProperty totalAmount;
StrongProperty NSNumber *total;
StrongProperty NSArray *list;


@property (assign, nonatomic) BOOL wholeSelected;//是否全选
@property (assign, nonatomic) BOOL hasSelectedGoods;//是否有选中商品
@property (strong, nonatomic) NSArray *selectedGoodsList;//购物车中所有已选择的商品列表
@property (strong, nonatomic) NSArray *wholeGoodsList;//购物车中所有的商品列表
@property (assign, nonatomic) CGFloat selectedGoodsTotalPrice;//购物车中所有已选择的商品的总价

- (void)deleteGoods:(EJSShoppingCartGoodsModel *)goodsModel;
- (void)deleteAllGoods;
- (void)deleteAllShopGoodsWithShopID:(NSString *)shopId;


@end
